<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class Manage extends Model
{
    //
    protected $table = 'manage';
    public $timestamps = false;
    protected $primaryKey = "id";
    protected $guarded = ['id'];

    protected static $field = [
        'id' => '编号',
        'create_time' => '创建时间',
        'update_time' => '更新时间',
        'create_user' => '创建人',
        'update_user' => '更新人',
        'rank' => '权重',
        'role_id' => '角色',
        'username' => '用户名',
        'email' => '邮箱',
        'login_time' => '登录时间',
        'login_number' => '登录次数',
        'ip' => '登录IP',
        'status'=>'状态'
    ];

    public static function getField() {
        return self::$field;
    }
}
